package org.pezke.akunature.service.impl;

import java.util.List;

import org.pezke.akunature.dao.FBachDao;
import org.pezke.akunature.model.fb.FBach;
import org.pezke.akunature.model.fb.FBachCriteria;
import org.pezke.akunature.service.FBachManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author igarcia
 */
@Service("fbManager")
public class FBachManagerImpl extends GenericManagerImpl<FBach, Long> implements
		FBachManager {

	/********
	 * DAO   
	 ********/

	private FBachDao dao = null;

	/**
	 * 
	 * <b>Constructor:</b> FBachManagerImpl
	 */
	@Autowired
	public FBachManagerImpl(FBachDao dao) {
		super(dao);
		this.dao = dao;
	}

	
	@Override
	public List<FBach> search(FBachCriteria criteria) {
		return dao.search(criteria);
	}
}
